<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Compound Module <i>GlobalObserver</i></h2>
<b>Package:</b> oversim.common<br/><b>File: <a href="src-common-GlobalObserver.ned.html">src/common/GlobalObserver.ned</a></b><br/>
<p>global module that contains the globalNodeList and the globalStatistics module</p>
<img src="oversim.common.GlobalObserver-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="oversim.common.GlobalNodeList.html" title="GlobalNodeList" alt="GlobalNodeList" coords="18,82,106,141">
<area shape="rect" href="oversim.common.GlobalParameters.html" title="GlobalParameters" alt="GlobalParameters" coords="131,202,234,261">
<area shape="rect" href="oversim.common.GlobalTraceManager.html" title="GlobalTraceManager" alt="GlobalTraceManager" coords="3,202,122,261">
<area shape="rect" href="oversim.common.GlobalFunctions.html" title="GlobalFunctions" alt="GlobalFunctions" coords="-51,322,176,381">
<area shape="rect" href="oversim.common.GlobalStatistics.html" title="GlobalStatistics" alt="GlobalStatistics" coords="137,82,228,141">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="oversim.common.GlobalObserver-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="oversim.common.GlobalObserver.html" title="Compound Module GlobalObserver" alt="" coords="391,83,503,111">
<area shape="rect" id="node2" href="oversim.common.GlobalNodeList.html" title="Simple Module GlobalNodeList" alt="" coords="117,161,227,189">
<area shape="rect" id="node4" href="oversim.common.GlobalFunctions.html" title="Compound Module GlobalFunctions" alt="" coords="251,161,365,189">
<area shape="rect" id="node6" href="oversim.common.GlobalStatistics.html" title="Simple Module GlobalStatistics" alt="" coords="389,161,504,189">
<area shape="rect" id="node8" href="oversim.common.GlobalParameters.html" title="Simple Module GlobalParameters" alt="" coords="528,161,653,189">
<area shape="rect" id="node10" href="oversim.common.GlobalTraceManager.html" title="Simple Module GlobalTraceManager" alt="" coords="677,161,819,189">
<area shape="rect" id="node12" href="oversim.underlay.inetunderlay.InetUnderlayNetwork.html" title="Network InetUnderlayNetwork" alt="" coords="5,6,149,34">
<area shape="rect" id="node14" href="oversim.underlay.inetunderlay.InetUnderlayNetwork6.html" title="Network InetUnderlayNetwork6" alt="" coords="173,6,325,34">
<area shape="rect" id="node16" href="oversim.underlay.reaseunderlay.ReaSEUnderlayNetworkBase.html" title="Compound Module ReaSEUnderlayNetworkBase" alt="" coords="349,6,544,34">
<area shape="rect" id="node18" href="oversim.underlay.simpleunderlay.SimpleUnderlayNetwork.html" title="Network SimpleUnderlayNetwork" alt="" coords="568,6,731,34">
<area shape="rect" id="node20" href="oversim.underlay.singlehostunderlay.SingleHostUnderlayNetwork.html" title="Network SingleHostUnderlayNetwork" alt="" coords="755,6,941,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="oversim.common.GlobalObserver-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="oversim.common.GlobalObserver.html" title="Compound Module GlobalObserver" alt="" coords="5,6,117,34">
</map>
<h3 class="subtitle">Used in compound modules:</h3>
<p>If a module type shows up more than once, that means it has been defined in more than one NED file.</p>
<table>
<tr>
   <td>
      <a href="oversim.underlay.reaseunderlay.ReaSEUnderlayNetworkBase.html">ReaSEUnderlayNetworkBase</a>
      <i> (compound&nbsp;module)</i>
   </td>
   <td>

<p>The InetUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.reaseunderlay.ReaSEUnderlayConfigurator.html">ReaSEUnderlayConfigurator</a></p>
   </td>
</tr>
</table>
<h3 class="subtitle">Networks:</h3>
<table>
<tr>
   <td>
      <a href="oversim.underlay.inetunderlay.InetUnderlayNetwork.html">InetUnderlayNetwork</a>
      <i> (network)</i>
   </td>
   <td>

<p>The InetUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html">InetUnderlayConfigurator</a></p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.underlay.inetunderlay.InetUnderlayNetwork6.html">InetUnderlayNetwork6</a>
      <i> (network)</i>
   </td>
   <td>

<p>The InetUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html">InetUnderlayConfigurator</a></p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.underlay.simpleunderlay.SimpleUnderlayNetwork.html">SimpleUnderlayNetwork</a>
      <i> (network)</i>
   </td>
   <td>

<p>The SimpleUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.simpleunderlay.SimpleUnderlayConfigurator.html">SimpleUnderlayConfigurator</a></p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.underlay.singlehostunderlay.SingleHostUnderlayNetwork.html">SingleHostUnderlayNetwork</a>
      <i> (network)</i>
   </td>
   <td>

<p>The SingleHostUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.singlehostunderlay.SingleHostUnderlayConfigurator.html">SingleHostUnderlayConfigurator</a></p>
   </td>
</tr>
</table>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">numGlobalFunctions</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>i=block/control</i></td>
   <td>
</td>
</tr>
</table>
<h3 class="subtitle">Unassigned submodule parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.maliciousNodeProbability</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>probability for a node to be malicious on creation</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.maliciousNodeChange</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>dynamically change number of malicious nodes</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.maliciousNodeChangeStartTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>simTime at which nodes begin to become malicious</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.maliciousNodeChangeRate</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>number of nodes to change to malicious compared to all nodes</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.maliciousNodeChangeInterval</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>time between two node changes to malicious</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.maliciousNodeChangeStartValue</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum amount of malicious nodes in the peerSet</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.maliciousNodeChangeStopValue</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>maximum amount of malicious nodes in the peerSet</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.maxNumberOfKeys</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
<p>maximum number of overlay keys the bootstrap oracle handles</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalNodeList.html">globalNodeList</a>.keyProbability</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>probability of keys to be owned by nodes</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalParameters.html">globalParameters</a>.rpcUdpTimeout</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>default timeout value for direct RPCs</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalParameters.html">globalParameters</a>.rpcKeyTimeout</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>default timeout value for routed RPCs</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalParameters.html">globalParameters</a>.printStateToStdOut</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>print overlay ready messages to std::cout</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalParameters.html">globalParameters</a>.topologyAdaptation</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>turn on topologyAdaptation (for demonstrator)</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalTraceManager.html">globalTraceManager</a>.traceFile</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
<p>file name of the trace file</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalStatistics.html">globalStatistics</a>.outputMinMax</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>enable output of minimum and maximum for scalars</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalStatistics.html">globalStatistics</a>.outputStdDev</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>enable output of standard deviation for scalars</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalStatistics.html">globalStatistics</a>.measureNetwInitPhase</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>fetch statistics in init phase?</p>
   </td>
</tr>
<tr>
   <td><a href="oversim.common.GlobalStatistics.html">globalStatistics</a>.globalStatTimerInterval</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>interval length of periodic statistic timer</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// global module that contains the globalNodeList and the globalStatistics module
//
</span><span style="color: #800000; font-weight: bold; ">module</span><span style="color: #000000; "> </span><span style="color: #000000; ">GlobalObserver</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">numGlobalFunctions</span><span style="color: #000000; ">;
        </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;i=block/control&quot;</span><span style="color: #000000; ">);

    </span><span style="color: #800000; font-weight: bold; ">submodules</span><span style="color: #000000; ">:
        </span><span style="color: #000000; ">globalNodeList</span><span style="color: #000000; ">: </span><span style="color: #000000; ">GlobalNodeList</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,60;i=block/control&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">globalParameters</span><span style="color: #000000; ">: </span><span style="color: #000000; ">GlobalParameters</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=180,180;i=block/control&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">globalTraceManager</span><span style="color: #000000; ">: </span><span style="color: #000000; ">GlobalTraceManager</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,180;i=block/control&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">globalFunctions</span><span style="color: #000000; ">[</span><span style="color: #000000; ">numGlobalFunctions</span><span style="color: #000000; ">]: </span><span style="color: #000000; ">GlobalFunctions</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,300,column;i=block/control&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">globalStatistics</span><span style="color: #000000; ">: </span><span style="color: #000000; ">GlobalStatistics</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=180,60;i=block/control&quot;</span><span style="color: #000000; ">);
        }
}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
